﻿@model ithub.Models.RegistrationModel
@using (Html.BeginForm("Registration", "Login", FormMethod.Post, new { ReturnUrl = ViewBag.ReturnUrl, role = "form", id = "frmRegistraion", @class = "form-horizontal frmValidate" }))
{ 
    <div class="control-group">
        <div class="input-prepend">
            <span class="add-on"><span class="icon-lock"></span></span>
            @Html.TextBoxFor(model => model.objClient.company_name, new { @class = "validate[required]", placeholder = "Company Name" })
        </div>
    </div>
    <div class="control-group">
        <div class="input-prepend">
            <span class="add-on"><span class="icon-lock"></span></span>
            @Html.TextBoxFor(model => model.objClient.nick_name, new { @class = "validate[required]", placeholder = "Nick Name" })
        </div>
    </div>
    <div class="control-group">
        <div class="input-prepend">
            <span class="add-on"><span class="icon-home"></span></span>
            @Html.DropDownListFor(model => model.objClient.zone_id, new SelectList(Model.lstZone, "zone_id", "market"), new { @class = "validate[required]" })
        </div>
    </div>
    <div class="dr">
        <span></span>
    </div>
    <div class="control-group">
        <div class="input-prepend">
        <span class="add-on"><span class="icon-user"></span></span>
            
            @Html.TextBoxFor(model => model.objUser.first_name, new { @class = "validate[required]" , placeholder = "First Name"})
        </div>
    </div>
    <div class="control-group">
        <div class="input-prepend">
        <span class="add-on"><span class="icon-user"></span></span>
            
            @Html.TextBoxFor(model => model.objUser.last_name, new { @class = "validate[required]" , placeholder = "Last Name"})
        </div>
    </div>   
    <div class="control-group">
        <div class="input-prepend">
            <span class="add-on"><span class="icon-lock"></span></span>
            @Html.TextBoxFor(model => model.objUser.login_id, new { @class = "validate[required]", placeholder = "Login Id" })
        </div>
    </div>  
    <div class="control-group">
        <div class="input-prepend">
            <span class="add-on"><span class="icon-lock"></span></span>
            @Html.PasswordFor(model => model.objUser.password, new { @class = "validate[required]", placeholder = "Password" })
        </div>
    </div>             
   @* <div class="dr">
        <span></span>
    </div>*@
                    
    <div class="row-fluid">
        <div class="span8">
            @*<div class="control-group" style="margin-top: 5px;">
                <label class="checkbox">
                    <input type="checkbox">
                    I agree with terms..</label>
            </div>*@
        </div>
        <div class="span4">
            <button type="submit" class="btn btn-block">
                Registration</button>
        </div>
    </div>
}